package com.songlanyun.modules.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.shop.entity.UnionBusinessClassifyEntity;
import com.songlanyun.modules.shop.model.dto.UnionBusinessClassifyDTO;
import com.songlanyun.modules.shop.model.dto.UnionBusinessRelationDTO;

import java.util.List;
import java.util.Map;

/**
 * 便民服务分类
 *
 * @author WuChao
 * @email songlanyun@gmail.com
 * @date 2022-11-21 14:38:04
 */
public interface UnionBusinessClassifyService extends IService<UnionBusinessClassifyEntity> {

    PageUtils queryPage(Map<String, Object> params);

    UnionBusinessClassifyEntity getById(Long id, boolean tw);

    void add(Long userId, UnionBusinessClassifyDTO dto);

    void edit(Long userId, UnionBusinessClassifyDTO dto);

    void delete(Long id);

    void setClassify(UnionBusinessRelationDTO dto);

    List<UnionBusinessClassifyEntity> queryListByShopId(Long shopId);

    void show(Long id);
}

